import time

from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()

driver.get("https://www.mianshiya.com/")

driver.find_element(By.CSS_SELECTOR,"#basicLayout > div > div.ant-layout.css-m4timi > div > header > div > div > div.ant-pro-global-header-right-content.css-1akew8s > div > div > div > div:nth-child(1) > div > span > input").send_keys("测试")
time.sleep(1)
driver.find_element(By.CSS_SELECTOR,"#basicLayout > div > div.ant-layout.css-m4timi > div > header > div > div > div.ant-pro-global-header-right-content.css-1akew8s > div > div > div > div:nth-child(1) > div > span > span > span").click()